<?php
	echo "<table>";
	echo "<tr><td>".LANG_SELECT_PRINT_FORMAT.": </td><td>";
	$this->helpers->htmlx->Combo('format', $this->printFormats, null, "onchange = 'setPrintFormat(this.options[this.selectedIndex].value)' class = 'combobox' style = 'width: 100px;'");
	echo "</td></tr>";
	echo "</table>";
?>
<script>
	function setPrintFormat(format)
	{
		opener.document.getElementById("gridPrint").style.width =  format + "cm";
	}
</script>